package cn.xfdzx.android.apps.shop.model;


import cn.xfdzx.android.apps.shop.bean.AddAddressBeen;
import cn.xfdzx.android.apps.shop.bean.HomeSearchXFDGoodBeen;
import cn.xfdzx.android.apps.shop.bean.StoreInfoBeen;
import cn.xfdzx.android.apps.shop.contract.AddAddressContract;
import cn.xfdzx.android.apps.shop.contract.StoreInfoContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class AddAddressModel implements AddAddressContract.Model {




    @Override
    public Flowable<AddAddressBeen> addAddress(String realname, String mobile, String lng, String lat, String is_default, String address_info, String house_number, String id, String label) {
        return RetrofitClient.getInstance().getApi().addAddress( realname,  mobile,  lng,  lat,  is_default,  address_info,  house_number,  id,  label);
    }
}
